package com.strawcom.charmring;

public class C {

	public static final boolean debug = false;
	
	/** 蓝牙戒指设备标示*/
	public static final String bleRing = "";
	public static boolean isEnglish = false;

	public interface app {
		String fonts_Geometr212 = "fonts/Geometr212.TTF";
		String fonts_CANDATA = "fonts/CANDARA.TTF";
		
		//String fonts_YouYuan = "fonts/youyuan.TTF";
		//String fonts_YouYuan = "fonts/Helvetica LT 45 Light.ttf";
		String fonts_YouYuan = C.isEnglish ? "fonts/Helvetica LT 45 Light.ttf" : "fonts/youyuan.TTF";
		
		String fonts_YuppySC_Regular = "fonts/YuppySC_Regular.ttf";
		int requestCode_enable_ring_bluetooth = 12315;

		/** 电话前缀 */
		String china_phone = "86";
		/** apk下载地址 */
		String download_url = "http://www.strawcom.com";
		/** 分享图片临时文件文件名 */
		String tmp_share = "tmp_share.png";
		/** ring默认来电闪烁时长 */
		int default_ble_light_time = 30; //
		/** ring默认防丢闪烁时长 */
		int default_ble_loss_time = 5;
		/** ring固件升级文件名 */
		String ble_ring_update = "update_ring.img";
		/** ring连接记录 */
		String ble_ring_connect_info = "ring_ble_log";
		/** 拍照相册文件夹 */
		String album_name = "CharmRing";
	}

	public interface exercise {
		String separator = ":";
		String record_time_pattern = "HH" + separator + "mm";
		String record_date_pattern = "yyyyMMdd";
		int record_title_patttern = R.string.exercise_title_patttern;
		int target_settings_energy_min = 440;
		int target_settings_energy_max = 550;
		int target_settings_time_min = 30;
		int target_settings_time_max = 120;
		int report_interval_time = 120000;
	}

	/** 注册 */
	public static final String request_msgid_post_user_regist = "POST_USER_REGIST";
	/** 修改密码 */
	public static final String request_msgid_post_user_password = "POST_USER_PASSWORD";
	/** 上传头像 */
	public static final String request_msgid_post_user_icon = "POST_USER_ICON";
	/** 登录 */
	public static final String request_msgid_get_user_signin = "GET_USER_SIGNIN";
	/** 获取用户头像 */
	public static final String request_msgid_get_user_icon = "GET_USER_ICON";
	/** 上传推送ID */
	public static final String request_msgid_post_device_token = "POST_DEVICE_TOKEN";
	/** 用户设定告警 */
	public static final String request_msgid_post_emergency_config = "POST_EMERGENCY_CONFIG";
	/** 查询紧急告警联系人注册状况 */
	public static final String request_msgid_get_contact_info = "GET_CONTACT_INFO";
	/** 用户告警 */
	public static final String request_msgid_post_emergency_alarm = "POST_EMERGENCY_ALARM";
	/** 上传使用投诉 */
	public static final String request_msgid_post_user_complaint = "POST_USER_COMPLAINT";
	/** 运动排行 */
	public static final String request_msgid_get_sports_ranking = "GET_SPORTS_RANKING";
	/** 修改用戶信息 */
	public static final String request_msgid_post_user_change_info = "POST_USER_CHANGE_INFO";

	public static final String extras_fromPush = "intent_fromPush";
	/** 蓝牙版本检测标示 */
	public static final String request_msgid_post_firmware_check = "POST_FIRMWARE_CHECK";
	
	/** APP升级版本检测标示 */
	public static final String request_megid_post_app_version_code = "POST_APP_VERSION_CODE";

	public interface sp {
		/** 用于显示在登录页面;不会被清楚 */
		String s_phone = "s_phone" ,s_password = "s_password", s_is_pwd_saved = "s_ispwdsaved",s_phone_ex = "s_phone_ex";
		
		
		String headurl = "headurl";
		String phone = "phone";
		String phone_ex = "phone_ex";
		String password = "password";
		String isSavePwd = "isSavePwd";
		String username = "username";
		String birthday = "birthday";
		String sex = "sex"; // 男 1true， 女2false
		String weight = "weight";
		String height = "height";
		String user_age = "user_age";
		String isFirst = "isFirst";
		String exercise_target_energy = "exercise_target_energy";
		String exercise_target_time = "exercise_target_time";
		String exercise_record_weight = weight;// 运动记录体重即是用户体重
		String ring_ble_address = "ring_ble_address";
		String ring_ble_last_address = "ring_ble_last_address";
		String ring_ble_address_nick = "ring_ble_address_nick_";

		String camera_capture_last_time = "camera_capture_last_time";
		String switch_phone_calls_reminding = "switch_phone_calls_reminding";
		String switch_mobile_lost_proof = "switch_mobile_lost_proof";
		String switch_location_alarm = "switch_location_alarm";
//		String switch_location_alarm_last_time = "switch_location_alarm_last_time";
		/** 来电提醒时长 */
		String switch_light_time = "switch_light_time";
		/** 来电提醒开关 */
		String switch_light_open = "switch_light_open";
		/** 防丢时长 */
		String switch_loss_time = "switch_loss_time";
		String alarm_msg_info = "alarm_msg_info";
		String isBindCidSueecss = "isBindCidSueecss";
		String cid = "cid";
		String from_push = "from_push";
		String ble_ring_update_url = "ble_ring_update_url"; // update url . e.g.
															// version
		String is_downing_ble_file = "is_downing_ble_file";
		String camera_perview = "camera_perview";

		String is_frist_launcher = "is_frist_launcher";
	}

}
